package com.wakyde.nlp;

import com.mayabot.nlp.Mynlps;
import com.mayabot.nlp.segment.plugins.personname.PerceptronPersonNameService;
import com.mayabot.nlp.segment.plugins.personname.PersonName;

import java.util.List;

public class MyNlpTest3 {
    public static void main(String[] args) {
        PerceptronPersonNameService nameService = Mynlps.instanceOf(PerceptronPersonNameService.class);
        List<PersonName> names = nameService.findName("   " +
                "姓名：凌云" +
                "霞           性别：男");

        System.out.println(names);
    }
}
